package cn.springboot.osbulkparts.service;

import cn.springboot.osbulkparts.entity.TQuotationEntity;
import org.springframework.security.core.Authentication;
import org.springframework.web.multipart.MultipartFile;

import cn.springboot.osbulkparts.common.CommonResultInfo;
import cn.springboot.osbulkparts.entity.TPriceFileEntity;

import java.util.Locale;

public interface TPriceFileService {
	
	CommonResultInfo<?> upInsertPrice(TQuotationEntity fileEntity, MultipartFile imgFile, Authentication auth, Locale locale);
	
	CommonResultInfo<?> updateMaterialPriceFileStatus();
	
	CommonResultInfo<TPriceFileEntity> getMaterialPriceAndFile(TPriceFileEntity fileEntity, Authentication auth, Locale locale);
	
	Object getFileByID(String fileID);

	CommonResultInfo<TQuotationEntity> getQuotation(TQuotationEntity fileEntity, Authentication auth, Locale locale);

}
